package com.asimplefox.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 1.添加视频名称，视频封面，视频简介，添加视频分类状态，添加视频时长
 * </p>
 *
 * @author kloping
 * @since 2024-10-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("vid_list")
public class VidList implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private String icon;

    @TableField("`desc`")
    private String desc;

    private String type;
    /**
     * 父分类 默认0短剧
     */
    private Integer ftype = 0;
}
